package cn.hinglo.gameclaw.admin.dao;

import cn.hinglo.gameclaw.data.dbdao.MyMapper;
import cn.hinglo.gameclaw.user.bean.ClawImage;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @createTime: 2017/12/29
 * @author: HingLo
 * @description: 娃娃机详情图管理
 */
@Repository
public interface ClawImageDao extends MyMapper<ClawImage> {
    /**
     * 检测娃娃机是否存在
     *
     * @param id 娃娃机唯一编号
     * @return 娃娃机的唯一编号
     */
    @Select("select id from claw where id=#{id}")
    int findByIdClawIdDao(int id);
}
